package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * carModel
 * </p>
 * @author itheima
 */
@Data
@TableName("tb_car_model")
public class CarModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("车型库id")
    @TableId(value = "id", type = IdType.AUTO)
	private Integer id; //车型库id



    @ApiModelProperty("汽车主体id")
    @TableField("car_id")
	private Integer carId;//汽车主体id

    @ApiModelProperty("国别")
    @TableField("country")
	private String country;//国别



}
